package com.deng.Service.impl;

import com.deng.Service.RoleService;
import com.deng.mapper.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * @Author 邓小熙
 * @Date 2022/5/29 21:22
 * @Version 1.0
 */
@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    RoleMapper roleMapper;

    @Override
    public Set<String> findRoleByName(String name) {
        return roleMapper.findRoleByName(name);
    }
}
